package com.zhiyou100.mapper;

import com.zhiyou100.model.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubjectMapper {
    List<Subject> findAll();

    Subject findById(@Param("id") Integer id);
}
